import 'package:happy_elf_app/views/Home/index.dart';
import 'package:happy_elf_app/views/Login/index.dart';
import 'package:happy_elf_app/views/My/Readme.dart';
import 'package:happy_elf_app/views/My/index.dart';
import 'package:happy_elf_app/views/Main/index.dart';
import 'package:happy_elf_app/views/My/introduction.dart';
import 'package:happy_elf_app/views/Space/index.dart';
import 'package:happy_elf_app/views/circle/index.dart';

class RouteConfig {
  // 配置页面路由
  final Map<String, Map<String, dynamic>> routes = {
    'Login': {
      'nameCN': '登录',
      'builder': (context, {arguments}) => const Login(),
    },
    'Home': {
      'nameCN': '首页',
      'builder': (context, {arguments}) => const Home(),
    },
    'My': {
      'nameCN': '我的',
      'builder': (context, {arguments}) => const My(),
    },
    'MainPage': {
      'nameCN': '主页面',
      'builder': (context, {arguments}) => const MainPage(),
    },
    'Space': {
      'nameCN': '精灵空间',
      'builder': (context, {arguments}) => const Space(),
    },
    'Circle': {
      'nameCN': '精灵圈',
      'builder': (context, {arguments}) => const Circle(),
    },
    'Introduction': {
      'nameCN': '实验介绍',
      'builder': (context, {arguments}) => const Introduction(),
    },
    'Readme': {
      'nameCN': '必读内容',
      'builder': (context, {arguments}) => const Readme(),
    },
  };
}
